﻿/// <reference path="/Scripts/Base/jquery-1.7.1.js" />
/// <reference path="/Scripts/Base/jquery.easing.min.js" />

$(function () {

    function checkAuthResult() {
        if ($("#login-result-fail").length != 0) {
            $("#login-view-container").removeClass("invisible");
            //debugger;
        }
    }; checkAuthResult();

    $("#btn-login").click(function () {
        $("#login-view-container").slideDown(1000, function () { $("#UserName").focus(); });
    });

    $("#metro-login-submit").click(function () {
        //$("#btn-do-login").click();
    });

});